package test1230am;

public class Test03 {
    public static void main(String[] args) {

        // (3)for循环打印2,4,6,8,10
        for (int i = 1; i <= 10; i += 2) {
            System.out.print(i);
        }
        System.out.println();
        // (3)for循环打印9,7,5,3,1
        for (int i = 9; i >= 1; i -= 2) {
            System.out.print(i);
        }
    }
}
